#!/bin/bash
set -e

/usr/bin/dbus-monitor --system "type=method_call,interface='org.freedesktop.login1.Manager',path='/org/freedesktop/login1',member='Reboot'" "type=method_call,interface='org.freedesktop.login1.Manager',path='/org/freedesktop/login1',member='PowerOff'" >>/tmp/monitor-dbus-upgrade.log 2>&1 &
